phpseclib3\Net\SSH2 D

Total Complexity 638
Dependencies 28
Dependents 0
Total lines 4,875
Lines of code 2,559
Logical lines of code 1,595
Comment lines 1,667
Methods 85
Properties 88

Methods 85

Method Rating Maintainability Complexity Lines of code
key_exchange()
D
5
94 426
get_channel_packet()
D
25
45 149
get_binary_packet()
D
26
33 151
filter()
D
29
33 122
login_helper()
C
31 27 119
connect()
C
32 28 100
send_binary_packet()
C
33 27 85
encryption_algorithm_to_key_size()
C
45 27 37
privatekey_login()
B
32 20 111
encryption_algorithm_to_crypt_instance()
B
45 24 39
getServerPublicHostKey()
B
37 21 73
exec()
B
35 17 96
read_remaining_bytes()
B
44 19 38
keyboard_interactive_process()
B
39 17 65
setPreferredAlgorithms()
A
39 13 69
getSupportedEncryptionAlgorithms()
A
40 13 67
mac_algorithm_to_hash_instance()
A
51 14 25
append_log()
A
42 12 54
read()
A
48 12 31
initShell()
A
41 7 66
__construct()
S
36 3 86
generate_identifier()
S
54 7 21
close_channel()
S
55 6 19
sublogin()
S
58 6 16
getLog()
S
59 5 14
disconnect_helper()
S
58 5 14
ping()
S
52 4 27
format_log()
S
52 4 22
startSubsystem()
S
49 3 35
login()
S
61 4 12
define_array()
S
63 4 11
send_channel_packet()
S
54 3 23
requestAgentForwarding()
S
55 3 21
write()
S
64 4 9
bad_algorithm_candidate()
S
66 4 9
get_open_channel()
S
64 4 9
reconnect()
S
63 3 11
array_intersect_first()
S
67 3 8
updateLogHistory()
S
65 3 9
ssh_agent_login()
S
64 3 10
disconnect()
S
68 3 7
get_interactive_channel()
S
66 3 10
getSupportedKEXAlgorithms()
S
57 1 19
getServerAlgorithms()
S
57 1 19
getSupportedMACAlgorithms()
S
59 1 17
getAlgorithmsNegotiated()
S
58 1 17
on_channel_open()
S
74 2 5
getLastError()
S
70 2 6
disablePTY()
S
70 2 7
getConnectionByResourceId()
S
77 2 3
getExitStatus()
S
72 2 6
keyboard_interactive_login()
S
62 1 13
getSupportedHostKeyAlgorithms()
S
64 1 12
getWindowColumns()
S
82 1 3
sendIdentificationStringFirst()
S
81 1 3
getBannerMessage()
S
82 1 3
sendIdentificationStringLast()
S
81 1 3
getWindowRows()
S
82 1 3
setWindowSize()
S
77 1 4
__toString()
S
81 1 3
getResourceId()
S
79 1 3
getSupportedCompressionAlgorithms()
S
76 1 5
setWindowColumns()
S
81 1 3
sendKEXINITFirst()
S
81 1 3
getConnections()
S
80 1 3
setWindowRows()
S
81 1 3
isAuthenticated()
S
79 1 3
getServerIdentification()
S
77 1 4
enablePTY()
S
81 1 3
isConnected()
S
79 1 3
setCryptoEngine()
S
80 1 3
__destruct()
S
82 1 3
enableQuietMode()
S
81 1 3
disableQuietMode()
S
81 1 3
isQuietModeEnabled()
S
82 1 3
isPTYEnabled()
S
82 1 3
reset_connection()
S
64 1 10
isTimeout()
S
82 1 3
sendKEXINITLast()
S
81 1 3
getStdError()
S
82 1 3
reset()
S
81 1 3
stopSubsystem()
S
73 1 5
setTimeout()
S
80 1 3
getErrors()
S
82 1 3
setKeepAlive()
S
82 1 3